import React from 'react';
interface SectionProps {
children: React.ReactNode;
className?: string;
background?: 'dark' | 'light' | 'warm' | 'transparent';
padding?: 'small' | 'medium' | 'large' | 'none';
}
export function Section({
children,
className = '',
background = 'transparent',
padding = 'medium'
}: SectionProps) {
const bgStyles = {
dark: 'bg-[#060606]',
light: 'bg-[#faf1e9]',
warm: 'bg-[#edc29c]',
transparent: 'bg-transparent',
};
const paddingStyles = {
none: '',
small: 'py-[62px]',
medium: 'py-[100px]',
large: 'py-[130px]',
};
return (
);
}
interface ContainerProps {
children: React.ReactNode;
className?: string;
variant?: 'default' | 'narrow' | 'content';
}
export function Container({ children, className = '', variant = 'default' }: ContainerProps) {
const variantStyles = {
default: 'max-w-[1440px] px-[32px]',
narrow: 'max-w-[1004px]',
content: 'max-w-[1376px] px-[32px]',
};
return (
{children}
);
}
interface SectionHeaderProps {
badge?: string;
badgeVariant?: 'outlined' | 'accent' | 'dark';
title: string;
subtitle?: string;
align?: 'left' | 'center';
className?: string;
}
export function SectionHeader({
badge,
badgeVariant = 'outlined',
title,
subtitle,
align = 'left',
className = ''
}: SectionHeaderProps) {
const alignStyles = align === 'center' ? 'items-center text-center' : 'items-start text-left';
const badgeStyles = {
outlined: 'border border-[#a1a1a1] text-[#2c2c2c]',
accent: 'border border-[#edc29c] text-[#edc29c]',
dark: 'bg-[#2c2c2c] text-[#faf1e9]',
};
return (
{badge && (
{badge}
)}
{title}
{subtitle && (
{subtitle}
)}
);
}